<?php


namespace app\manager\controller;


use app\common\controller\Common;

class Verfrecord extends Common
{
    public function lists(){

        if ($this->request->isAjax()) {
            $limit = $this->getPageSize();
            $reverf = \app\common\model\VerfRecord::paginate($limit);
            if (count($reverf) == 0) return $this->errJson('暂无数据');
            return $this->listJson($reverf->items(), $reverf->total());
        } else {
            return view();
        }
    }
}